package com.ruoyi.draw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Novel对象 novel
 * 
 * @author Locek
 * @date 2025-10-25
 */
public class Novel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 时间观 */
    @Excel(name = "时间观")
    private String worldview;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String img;

    /** 封面图片提示词 */
    @Excel(name = "封面图片提示词")
    private String prompt;

    /** 涉及人物 */
    @Excel(name = "涉及人物")
    private String refRole;

    /** 参考图片 */
    @Excel(name = "参考图片")
    private String refImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setWorldview(String worldview) 
    {
        this.worldview = worldview;
    }

    public String getWorldview() 
    {
        return worldview;
    }

    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setPrompt(String prompt) 
    {
        this.prompt = prompt;
    }

    public String getPrompt() 
    {
        return prompt;
    }

    public void setRefRole(String refRole) 
    {
        this.refRole = refRole;
    }

    public String getRefRole() 
    {
        return refRole;
    }

    public void setRefImg(String refImg) 
    {
        this.refImg = refImg;
    }

    public String getRefImg() 
    {
        return refImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("description", getDescription())
            .append("worldview", getWorldview())
            .append("tag", getTag())
            .append("img", getImg())
            .append("prompt", getPrompt())
            .append("refRole", getRefRole())
            .append("refImg", getRefImg())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
